//index.js
//获取应用实例
const app = getApp()

Page({
  data: {
    motto: 'Hello World',
    userInfo: app.globalData.userInfo,
    hasUserInfo: app.globalData.hasUserInfo,
    hasUserInfo: false,
    canIUse: wx.canIUse('button.open-type.getUserInfo'),
    
    indicatorDots: false,
    autoplay: true,
    interval: 5000,
    duration: 800
  },
  onShareAppMessage: function (event) {
    return {
      title: '校园公众号',
    }
  }
})

